package com.ye.personnel.api.department;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @Author: yeubo
 * @Date: 2024/1/2 19:05
 */

@Data
public class DepartmentTreeVo {

    @ApiModelProperty("单位id")
    private String departmentId;

    @ApiModelProperty("单位编号")
    private String departmentNo;

    @ApiModelProperty("单位名称")
    private String departmentName;

    @ApiModelProperty("上级单位id")
    private String parentDepartmentId;

    @ApiModelProperty("子单位")
    private List<DepartmentTreeVo> childrenDepartment;
}
